package com.yyx.demo.config;

public class TestMybaties {

    public static void main(String[] args) {

        MySqlsession sqlsession=new MySqlsession();
        UserMapper mapper=sqlsession.getMapper(UserMapper.class);
        User user=mapper.getUserById(1);
        System.out.println(user);

    }
}
